import request from '@/utils/request.js';

class Publish {
	//发布文章
	add_article = (data) => request({
		path: "/api/add_article",
		data,
		method: "POST"		//默认GET，上传图片无法通过GET实现 {},[]
,	});
}

export default new Publish();
